//
//  DistributedNotifier.m
//  Cidney
//
//  Created by Chris Karr on 1/8/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import "DistributedNotifier.h"
#import "Dispatcher.h"

#define CIDNEY_DIST_UPDATE @"Cidney: Distributed Notification Update" 

@implementation DistributedNotifier

- (void) awakeFromNib
{
	[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(update:) name:PHONE_STATUS object:nil];
}

- (void) update: (NSNotification *) msg
{
	[[NSDistributedNotificationCenter defaultCenter] postNotificationName:CIDNEY_DIST_UPDATE object:nil userInfo:[msg userInfo]];
}

@end
